<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
 <HEAD>
  <TITLE> ZTREE DEMO </TITLE>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" href="../component/zTree/demo/zTreeStyle/zTreeStyle.css" type="text/css">
  <link rel="stylesheet" href="../component/zTree/demo/zTreeStyle/zTreeIcons.css" type="text/css">
  <script type="text/javascript" src="../component/zTree/jquery-1.4.2.js"></script>
  <script type="text/javascript" src="../component/zTree/jquery-ztree-2.2.js"></script>

  <SCRIPT LANGUAGE="JavaScript">
  <!--
	var zTree1;

		var setting = {
			showLine: true
		};
		setting.isSimpleData = true;
 setting.treeNodeKey = "id";
 setting.treeNodeParentKey = "pId";

var zNodes1 =[{"id":"0d2e602204964563b1bec82e19704e3e","pId":"-1","name":"口碑制卡管理系统"},{"id":"0de0a1d39f1e427098d52cbedec88543","pId":"0d2e602204964563b1bec82e19704e3e","name":"未加密卡管理"},{"id":"1c2a9dbc7908430880562663427c3725","pId":"42ed7fb1c7df4bceb8fb569b4736816a","name":"用户管理"},{"id":"1f3e6a40f6984b28b182bcd1445ec22e","pId":"1c2a9dbc7908430880562663427c3725","name":"用户数据管理"},{"id":"222c502008e14c6b9b29b70621c55fa7","pId":"70c357b919fe43c5bd6e466c008ce9fa","name":"新增角色数据"},{"id":"2c3812ec13214d029e23d70360a46a22","pId":"0d2e602204964563b1bec82e19704e3e","name":"可用卡查询"},{"id":"45cc3f86294e4d2b8d3d2ce1ddd2ea07","pId":"70c357b919fe43c5bd6e466c008ce9fa","name":"角色配置管理"},{"id":"64fab49b0266431786911ae9fe2df715","pId":"0d2e602204964563b1bec82e19704e3e","name":"制卡操作管理"},{"id":"70c357b919fe43c5bd6e466c008ce9fa","pId":"42ed7fb1c7df4bceb8fb569b4736816a","name":"角色配置"},{"id":"7305591dc1b541d6822ce2c444fafae0","pId":"a6f634b95bf449d686aba3f9d6c1b6ec","name":"组配置管理"},{"id":"83d8b0ed28fd4e4594e74cb71b0b730a","pId":"42ed7fb1c7df4bceb8fb569b4736816a","name":"系统资源管理"},{"id":"956c570325ee47479c356343a59198f9","pId":"42ed7fb1c7df4bceb8fb569b4736816a","name":"操作配置"},{"id":"a5dff536df7149678019b16bdf0e633a","pId":"956c570325ee47479c356343a59198f9","name":"新增操作数据"},{"id":"a6f634b95bf449d686aba3f9d6c1b6ec","pId":"42ed7fb1c7df4bceb8fb569b4736816a","name":"组配置"},{"id":"b7fc6f2c81a04bc2a4d1642b13bfaaa3","pId":"83d8b0ed28fd4e4594e74cb71b0b730a","name":"新增系统资源"},{"id":"c351ec29c91d4cbbbe875cf42905f9af","pId":"83d8b0ed28fd4e4594e74cb71b0b730a","name":"系统资源管理"},{"id":"e362240715174742b7f76ab43b98595c","pId":"956c570325ee47479c356343a59198f9","name":"操作配置管理"},{"id":"f41a21e62ca24c559342e0c4378b3598","pId":"0d2e602204964563b1bec82e19704e3e","name":"退出系统"},{"id":"fdf541df29e84781b0c63518154bf70b","pId":"a6f634b95bf449d686aba3f9d6c1b6ec","name":"新增组数据"},{"id":"ff71b6dc3ea5478896c3db1bb42d9933","pId":"1c2a9dbc7908430880562663427c3725","name":"新增用户数据"}];
	$(document).ready(function(){
		
		zTree1 = $("#treeDemo").zTree(setting, zNodes1);
	});

	
  //-->
  </SCRIPT>
  
 </HEAD>

<BODY>
<center class="headTitle">基本功能演示</center>
<TABLE border=0 width="700" class="tb1">
	<TR>
		<TD width=340px align=center valign=top>
		<div class="zTreeDemoBackground">
			<ul id="treeDemo" class="tree"></ul>
		</div>		
		</TD>
		<TD width=360px align=left valign=top>
	
		</TD>
	</TR>
</TABLE>

 </BODY>
</HTML>
